Skip to content

util-linux partial port (only libuuid for now)#188

Draft
jscaff wants to merge 1 commit intoqnx-ports:803from
jscaff:extra/util-linux
Draft

util-linux partial port (only libuuid for now)#188
jscaff wants to merge 1 commit intoqnx-ports:803from
jscaff:extra/util-linux

Conversation

@jscaff
Copy link
Contributor

@jscaff jscaff commented Mar 11, 2026

@szclsya @arbassett @eleir9268

How many of the utils in util-linux should we port to merge this?
Would it be better to have libuuid be a standalone package instead of a metapackage like this?

I'll keep this as a draft until we have a clear way forwards with regards to this

@arbassett
Copy link
Contributor

So looking at other OS mainly freebsd they have both util-linux and libuuid but libuuid is separate to util-linux. https://github.com/freebsd/freebsd-ports/blob/main/misc/libuuid/Makefile if we just need libuuid i think its fine to just name this libuuid. my only question is how does dev depends work but im guessing meson is smart enough to install only the headers for libuuid

@jscaff
Copy link
Contributor Author

jscaff commented Mar 11, 2026

the headers for libuuid are ironically, not packaged with the subpackage... only in the dev metapackage. This is how alpine does it and i stole a lot of the APKBUILD structure from them https://pkgs.alpinelinux.org/contents?file=&path=&name=libuuid&branch=edge&repo=main&arch=x86_64
https://pkgs.alpinelinux.org/contents?file=uuid.h&path=&name=util-linux-dev&branch=edge&repo=main&arch=x86_64

@arbassett
Copy link
Contributor

yea what im saying is just to rename the root package as libuuid drop the whole util-linux naming if we really need util-linux proper at somepoint we can just add it separately to libuuid basically the exact same thing a freebsd

@arbassett
Copy link
Contributor

unless there is a bunch of things in here you want to just get working in one shot then im all for it. the only thing im slightly worried about is things like libmount and people thinking thats where they would get it from

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants